package cl.metlife.contentstore;

import javax.ejb.Local;

@Local
public interface ContentStore {

    /**
     * This method is responsible for persisting a email (without attachments) into the persistence DB.
     *
     * @param key A key of the message to be persisted.
     * @param content The content of the message to be persisted.
     */
    public void persist(String key, String content) throws Exception;

}
